package com.xiashitech.apiservice.service;

import com.xiashitech.interfaces.agent.dto.diagnosis.CommandResp;

import java.util.List;

public interface IDiagnosisService {
    public CommandResp getAndRemoveDiagnosisCommand(String systemId, String microServiceId);
    public void addCommandResult(String systemId, String microServiceId, String line, Integer sessionId, String diagnosisResult);
    public void addDiagnosisCommand(String systemId, String microServiceId, String line, Integer sessionId) throws Exception;
    public List<CommandResp> getCommandResults(String systemId, String microServiceId);
    public void switchDiagnosis(String systemId, String microServiceId, Integer onoff) throws Exception;
}
